package app.game.resource;

import puri01.graphic.BitmapList;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import app.main.R;

public class ResourceBall extends BitmapList {

	private static ResourceBall _Instance = new ResourceBall();
	public static Resources resources = Resource.getInstance().getResources();  

	public static ResourceBall getInstance(){
		return _Instance;
	}
	
	private ResourceBall() {}
	
    public static final int WIDTH = 65;
    public static final int HEIGHT = 65;

    @Override
    protected void loadBitmaps() {
		_Bitmaps = new Bitmap[4];
		
		
        _Bitmaps[0] = BitmapFactory.decodeResource(resources, R.drawable.ball1_1);
        _Bitmaps[1] = BitmapFactory.decodeResource(resources, R.drawable.ball1_2);
        _Bitmaps[2] = BitmapFactory.decodeResource(resources, R.drawable.ball1_3);
        _Bitmaps[3] = BitmapFactory.decodeResource(resources, R.drawable.ball1_4);
        
    }
	
}
